package com.weetop.aklyscan.utils.widget;


import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.View;

import okhttp3.MediaType;
import okhttp3.RequestBody;


public class MyDialogUtil {
    public static void showDialog(Context context, String text) {
        AlertDialog.Builder normalDialog = new AlertDialog.Builder(context);
        normalDialog.setTitle("提示");
        normalDialog.setMessage(text);
        normalDialog.setNegativeButton("返回", new DialogInterface.OnClickListener() {
            @Override
            public void onClick(DialogInterface dialog, int which) {
            }
        });
        normalDialog.create().show();
    }
}
